<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Lista de suas disciplinas</title>
<link rel="stylesheet" href="stylesheet.css">
</head>
<body>
<h1 class="box" style="position: fixed; top: 10%; left: -50%; right: -50%;">Lista de disciplinas </h1>

<div class="box" style="top: 40%; position: fixed; left: -50%; right: -50%;" id="listButton">
<table style="text-align: left; margin: auto;" class="ellipsis">
  <c:forEach var="disciplina" items="${lista}">
    <tr>
      <td>${disciplina.nome}</td>
      <td>${disciplina.periodo}</td>
      <td>${disciplina.cargaHoraria}</td>
      <td>${disciplina.periodicidade}</td>
    </tr>
  </c:forEach>
</table>
<br><a class="btn" href="TelaProfessor.jsp"> Voltar ao menu</a> <br><br>
</div>
</body>
</html>